//
//  imageButton.m
//  03-HomeWork
//
//  Created by dllo on 16/7/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "imageButton.h"

@implementation ImageButton
- (void)addTapActionTarget:(id)target action:(SEL)action {
    self.userInteractionEnabled = YES;
    self.tap = [[UITapGestureRecognizer alloc] initWithTarget:target action:action];
    [self addGestureRecognizer:self.tap];
}
@end
